package own.rpc.bio;

import java.net.InetSocketAddress;

import own.rpc.IHelloService;

public class BioClientMain {

	public static void main(String[] args) {
		IHelloService service = BioRPCClient.getRemoteProxyObj(IHelloService.class,
				new InetSocketAddress("localhost", 8888));
		System.out.println(service);
		System.out.println(service.sayHi("just test"));
		System.out.println(service);
	}

}
